<div>
  <div id="tabs" class="htabs">
  	<?php foreach ($news_types as $type){?>
  	<a href="#tab-<?php echo $type['type_id'];?>"><?php echo $type['name']; ?></a>
  	<?php }?>
  </div>
  <?php foreach ($news_types as $type){?>
  	<div id="tab-<?php echo $type['type_id'];?>" class="tab-content">
  		<!-- Display big news -->
  		<div class="restaurant-grid" style="margin-left:8px">
	  		<?php foreach ($big_news[$type['type_id']] as $news){?>
		  		<div class="left" style="width: 145px;">
		  			<div class="image">
		  				<a href="<?php echo $news['href']; ?>"><img src="<?php echo $news['thumb']; ?>" title="<?php echo $news['title']; ?>" alt="<?php echo $news['title']; ?>" /></a>
		  			</div>
		  			<div class="name">
		  				<a href="<?php echo $news['href']; ?>"><?php echo $news['title'];?></a>
		  			</div>
		  			<div class="description">
		  				<?php echo $news['header'];?>
		  			</div>
		  		</div>
	  		<?php }?>
		</div>
  		<b><?php echo $text_read_older_post;?></b>
  		<br/>&nbsp;<br/>
  		<?php if(sizeof($small_news[$type['type_id']]) > 0){?>
  		<div class="restaurant-grid" style="margin-left:8px">
	  		<?php foreach ($small_news[$type['type_id']] as $news){?>
	  		<div class="left" style="width: 100px; margin-left:10px">
	  			<div class="image">
	  				<a href="<?php echo $news['href']; ?>"><img src="<?php echo $news['thumb']; ?>" title="<?php echo $news['title']; ?>" alt="<?php echo $news['title']; ?>" /></a>
	  			</div>
	  			<div class="name">
	  				<a href="<?php echo $news['href']; ?>"><?php echo $news['title'];?></a>
	  			</div>
	  			<div class="description">
	  				<?php echo $news['header'];?>
	  			</div>
	  		</div>
	  		<?php }?>
  		</div>
  		<?php }?>
  	</div>
  <?php }?>
</div>
<script type="text/javascript"><!--
$('#tabs a').tabs();
//--></script> 
